package data;

import java.sql.Connection;
import java.util.List;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class Result {

	private Integer id;
	
	@SerializedName("e_id")
	@Expose private Integer event_id;
	@SerializedName("e_type")
	@Expose private String event_type;
	@Expose private Integer ath_no;
	@Expose private Integer team_no;
	@Expose private Double seed;
	@Expose private String result;
	@Expose private Integer exhibition;
	@Expose private List<Double> splits;
	
	public Result(Integer event_id, String event_type, Integer ath_no,
			Integer team_no, Double seed, String result, Integer exhibition) {
		super();
		this.event_id = event_id;
		this.event_type = event_type;
		this.ath_no = ath_no;
		this.team_no = team_no;
		this.seed = seed;
		this.result = result;
		this.exhibition = exhibition;
	}


	public Result(Integer id, Integer event_id, String event_type, Integer ath_no,
			Integer team_no, Double seed, String result, Integer exhibition) {
		super();
		this.setId(id);
		this.event_id = event_id;
		this.event_type = event_type;
		this.ath_no = ath_no;
		this.team_no = team_no;
		this.seed = seed;
		this.result = result;
		this.exhibition = exhibition;
	}


	public void setSplits(List<Double> splits) {
		this.splits = splits;
	}


	public Integer getEvent_id() {
		return event_id;
	}


	public String getEvent_type() {
		return event_type;
	}


	public Integer getAth_no() {
		return ath_no;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public List<Double> getSplits() {
		return splits;
	}

	
}
